import java.util.*;

public class t5 { 
	public static void main(String[] args) { 
		for (int i=0; i<=16; i++){
			for (int j=0; j<=16; j++){
				if(0 == i && 0 == j){
					System.out.println(" ");
				}else if(0 == i && j <= 10){
					System.out.println((j-1)+" ");
				}else if(0 == i && j <= 16){
					System.out.println((char)(j-11+'a'+" "));
				}else if(0 == j && i <= 10){
					System.out.println((i-1)+" ");
				}else if(0 == j && i <= 16){
					System.out.println((char)(i-11+'a')+" ");
				}else{
					System.out.println("+ ");
				}
			}
			System.out.println();
		}
	}
}